package team.gzjmzy.system.domain.entity;

import team.gzjmzy.common.annotation.Excel;
import team.gzjmzy.common.core.domain.BaseAutoEntity;
import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 学生管理对象 t_student
 *
 * @author gzjmzy
 * @date 2021-08-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@TableName("t_student")
public class TStudent extends BaseAutoEntity {

    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 学号 */
    @Excel(name = "学号")
    private String studentId;
    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;
    /** 学生状态 */
    @Excel(name = "学生状态")
    private Integer status;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
